local _ = require "mason-core.functional"

local M = {}

M.nvimlint_to_package = {
    ["actionlint"] = "actionlint",
    ["ansible_lint"] = "ansible-lint",
    ["buf_lint"] = "buf",
    ["buildifier"] = "buildifier",
    ["cbfmt"] = "cbfmt",
    ["cfn_lint"] = "cfn-lint",
    ["checkstyle"] = "checkstyle",
    ["checkmake"] = "checkmake",
    ["clj_kondo"] = "clj-kondo",
    ["cmakelint"] = "cmakelint",
    ["codespell"] = "codespell",
    ["cpplint"] = "cpplint",
    ["cspell"] = "cspell",
    ["curlylint"] = "curlylint",
    ["djlint"] = "djlint",
    ["editorconfig-checker"] = "editorconfig-checker",
    ["erb_lint"] = "erb-lint",
    ["eslint_d"] = "eslint_d",
    ["flake8"] = "flake8",
    ["gdlint"] = "gdtoolkit",
    ["gitlint"] = "gitlint",
    ["golangcilint"] = "golangci-lint",
    ["hadolint"] = "hadolint",
    ["htmlhint"] = "htmlhint",
    ["jsonlint"] = "jsonlint",
    ["ktlint"] = "ktlint",
    ["luacheck"] = "luacheck",
    ["markdownlint"] = "markdownlint",
    ["markdownlint-cli2"] = "markdownlint-cli2",
    ["mypy"] = "mypy",
    ["oxlint"] = "oxlint",
    ["phpcs"] = "phpcs",
    ["phpmd"] = "phpmd",
    ["phpstan"] = "phpstan",
    ["proselint"] = "proselint",
    ["psalm"] = "psalm",
    ["pydocstyle"] = "pydocstyle",
    ["pylint"] = "pylint",
    ["revive"] = "revive",
    ["rstcheck"] = "rstcheck",
    ["rubocop"] = "rubocop",
    ["ruff"] = "ruff",
    ["selene"] = "selene",
    ["shellcheck"] = "shellcheck",
    ["shellharden"] = "shellharden",
    ["solhint"] = "solhint",
    ["sqlfluff"] = "sqlfluff",
    ["standardrb"] = "standardrb",
    ["stylelint"] = "stylelint",
    ["snyk_iac"] = "snyk",
    ["tflint"] = "tflint",
    ["tfsec"] = "tfsec",
    ["trivy"] = "trivy",
    ["vale"] = "vale",
    ["vint"] = "vint",
    ["vulture"] = "vulture",
    ["write_good"] = "write-good",
    ["yamllint"] = "yamllint",
}

M.package_to_nvimlint = _.invert(M.nvimlint_to_package)

return M
